<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>网站后台管理系统</title>
<meta name="keywords" content="">
<meta name="description" content="">
<!--[if lte IE 6]>
<link rel="stylesheet" type="text/css" href="css/ie6.css"/>
<![endif]-->
<link rel="stylesheet" type="text/css"  href="../../../../Public/admin/css/style_v2.0.css"/>
<link rel="stylesheet" type="text/css"  href="../../../../Public/layui/css/layui.css">
<link rel="stylesheet" type="text/css"  href="__PUBLIC__/admin/css/style_v2.0.css"/>
<link rel="stylesheet" type="text/css"  href="__PUBLIC__/layui/css/layui.css">
<script type="text/javascript" src="__PUBLIC__/js/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/layui/layui.js"></script>
</head>
<body>
<div class="position mt10">当前位置：<a href="/admin.php/">后台首页</a> > 外地网站信息修改</div>
<div id="container">
  <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
      <legend>外地网站信息修改</legend>
  </fieldset>
<div class="c"></div> 
<form name=reg action="{:U('Admin/Web/waidi_update',array('wid' => $data['wid']))}"  enctype="multipart/form-data"  method="post"  class="layui-form" id="waidi_add">
<div class="layui-form">
    <table class="layui-table">
    <tr>
	  <td width="20%" align="right"><font color=red size="1">·</font>网站域名：</td>
	  <td width="80%">
      <span class="table_span" style="width:400px; float:left;"><input name="weburl" type="text" id="weburl" value="{$data.weburl}" required  lay-verify="" placeholder="网站域名" autocomplete="off" class="layui-input"></span>
      <span class="table_txt"></span>
      </td>
    </tr>
    <tr>
	  <td width="20%" align="right"><font color=red size="1">·</font>网站名称：</td>
	  <td width="80%">
      <span class="table_span" style="width:400px; float:left;"><input name="webname" type="text" id="webname" value="{$data.webname}"  lay-verify="" placeholder="网站名称" autocomplete="off" class="layui-input"></span>
      <span class="table_txt"></span>
      </td>
    </tr>
    <tr>
	  <td width="20%" align="right">联系人：</td>
	  <td width="80%">
      <span class="table_span" style="width:400px; float:left;"><input name="contact" type="text" id="contact" value="{$data.contact}"  lay-verify="" placeholder="联系人" autocomplete="off" class="layui-input"></span>
      <span class="table_txt"></span>
      </td>
    </tr>
    <tr>
	  <td align="right">联系人信息：</td>
	  <td><span class="table_span" style="width:400px; float:left;"><textarea name="contactinfo" type="text" id="contactinfo" value=""  lay-verify="" placeholder="联系人信息" autocomplete="off" class="layui-textarea" style="height:80px;">{$data.contactinfo}</textarea></span>
      </td>
    </tr>
     <tr>
	  <td align="right">域名账号信息：</td>
	  <td><span class="table_span" style="width:400px; float:left;"><textarea name="domaininfo" type="text" id="domaininfo" value=""  lay-verify="" placeholder="域名账号信息" autocomplete="off" class="layui-textarea" style="height:80px;">{$data.domaininfo}</textarea></span>
      </td>
    </tr>
    <tr>
	  <td align="right">FTP信息：</td>
	  <td><span class="table_span" style="width:400px; float:left;"><textarea name="ftpinfo" type="text" id="ftpinfo" value=""  lay-verify="" placeholder="FTP信息" autocomplete="off" class="layui-textarea" style="height:80px;">{$data.ftpinfo}</textarea></span>
      </td>
    </tr>
    <tr>
	  <td align="right">其他信息：</td>
	  <td><span class="table_span" style="width:400px; float:left;"><textarea name="other" type="text" id="other" value=""  lay-verify="" placeholder="其他信息" autocomplete="off" class="layui-textarea" style="height:80px;">{$data.other}</textarea></span>
      </td>
    </tr>
    <tr>
	   <td align="right"><font color=red size="1">·</font>完成时间：</td>
	  <td><input name="finishtime" type="text" id="finishtime" value="{$data.finishtime|date='Y-m-d',###}"  autocomplete="off" onClick="layui.laydate({elem: this, istime: true, istoday: true, format: 'YYYY-MM-DD'})" class="layui-input ico-date"  style="width:250px; float:left;"></td>
	  </tr>
     <tr>
	   <td align="right"><font color=red size="1">·</font>有无管理权：</td>
	  <td><input type="radio" name="ismanage" value="1"  lay-filter="ismanage" title="有权限" <if condition="$data['ismanage'] eq 1">checked </if> > &nbsp;&nbsp;&nbsp; <input type="radio" name="ismanage" value="0" title="无权限"  lay-filter="" <if condition="$data['ismanage'] eq 0">checked </if>></td>
	  </tr>
    <tr>
	     <td align="right">排序：</td>
	     <td><span class="table_txt"><input type="text" name="listorder" value="{$data.listorder}" class="layui-input" style="width:50px;"></span>
            <span class="table_txt"><font color="#666666">（越大越靠前）</font></span></td>
        </tr>
     <tr>
	   <td align="right"><font color=red size="1">·</font>添加时间：</td>
	  <td><input name="inputtime" type="text" id="inputtime" value="{$data.inputtime|date='Y-m-d',###}"  autocomplete="off" onClick="layui.laydate({elem: this, istime: true, istoday: true, format: 'YYYY-MM-DD'})" class="layui-input ico-date"  style="width:250px; float:left;"></td>
	  </tr>
    <tr> 
	  <td colspan=2 align="center" valign="middle">
		<input type="submit" name="Submit" value="确&nbsp; &nbsp;定" class="layui-btn" >
		<input type="reset" name="Submit2" value="重　置" class="layui-btn layui-btn-primary" >		 </td>
	</tr>
    </table>
</div>
</form>
</div>
<script type="text/javascript" src="__PUBLIC__/js/common.js"></script>
</body>
</html>
<script>

//Demo
layui.use(['form','laydate'], function(){
  var form = layui.form
  ,laydate = layui.laydate;
   //,layer = layui.layer	
   
   
   
   laydate.render({
    elem: '#finishtime'
	,type: 'date'
  });
  
   laydate.render({
       elem:'#inputtime'
	   ,type:'date'
   });
   
  //监听提交
  form.on('submit(formSearch)', function(data){
    //layer.msg(JSON.stringify(data.field));
	title: '最终的提交信息'
	return true;
  });

});

</script>